package com.zx.notification.common.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 通知创建事件
 * 当系统通知创建完成后发布此事件，用于触发MQ消息发送
 */
@Getter
public class NotificationCreatedEvent extends ApplicationEvent {

    private final String notificationId;

    public NotificationCreatedEvent(Object source, String notificationId) {
        super(source);
        this.notificationId = notificationId;
    }
}